-
Notifications
You must be signed in to change notification settings - Fork 8.5k
[Profiling] Add colors for new frame types (process name, thread name, root) #204977
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[Profiling] Add colors for new frame types (process name, thread name, root) #204977
Conversation
|
Pinging @elastic/obs-ux-infra_services-team (Team:obs-ux-infra_services) |
🤖 GitHub commentsExpand to view the GitHub comments
Just comment with:
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Great stuff Tim! 🚀 thanks 🙏🏼
d0a4cf4 to
1758e7a
Compare
d9acea6 to
14391a0
Compare
💚 Build Succeeded
Metrics [docs]Async chunks
Page load bundle
History
cc @rockdaboot |
…, root) (elastic#204977) ## Summary This PR is a pre-requisite for adding aggregation by process name and by thread name to the Universal Profiling flamegraph view. It adds three artificial node types to the flamegraph including color codes. As a side-effect, the root node now has its own color code. Previously, it (accidentally) used the color code of "unknown" type frames. The PR is backwards compatible, so it doesn't change anything in the UI when connecting with current Elasticsearch. As soon as [the PR for ES](elastic/elasticsearch#119115) is merged, the new aggregations show up.
…, root) (elastic#204977) ## Summary This PR is a pre-requisite for adding aggregation by process name and by thread name to the Universal Profiling flamegraph view. It adds three artificial node types to the flamegraph including color codes. As a side-effect, the root node now has its own color code. Previously, it (accidentally) used the color code of "unknown" type frames. The PR is backwards compatible, so it doesn't change anything in the UI when connecting with current Elasticsearch. As soon as [the PR for ES](elastic/elasticsearch#119115) is merged, the new aggregations show up. (cherry picked from commit bc5d8db)
💚 All backports created successfully
Note: Successful backport PRs will be merged automatically after passing CI. Questions ?Please refer to the Backport tool documentation |
…ad name, root) (#204977) (#219979) # Backport This will backport the following commits from `main` to `8.19`: - [[Profiling] Add colors for new frame types (process name, thread name, root) (#204977)](#204977) <!--- Backport version: 9.6.6 --> ### Questions ? Please refer to the [Backport tool documentation](https://github.com/sorenlouv/backport) <!--BACKPORT [{"author":{"name":"Tim Rühsen","email":"[email protected]"},"sourceCommit":{"committedDate":"2025-01-08T09:24:43Z","message":"[Profiling] Add colors for new frame types (process name, thread name, root) (#204977)\n\n## Summary\r\nThis PR is a pre-requisite for adding aggregation by process name and by\r\nthread name to the Universal Profiling flamegraph view.\r\n\r\nIt adds three artificial node types to the flamegraph including color\r\ncodes.\r\n\r\nAs a side-effect, the root node now has its own color code. Previously,\r\nit (accidentally) used the color code of \"unknown\" type frames.\r\n\r\nThe PR is backwards compatible, so it doesn't change anything in the UI\r\nwhen connecting with current Elasticsearch.\r\nAs soon as [the PR for\r\nES](elastic/elasticsearch#119115) is merged, the\r\nnew aggregations show up.","sha":"bc5d8db237bdef481de9e4ce37d9e460755ae418","branchLabelMapping":{"^v9.0.0$":"main","^v8.18.0$":"8.x","^v(\\d+).(\\d+).\\d+$":"$1.$2"}},"sourcePullRequest":{"labels":["release_note:enhancement","release_note:skip","backport:skip","v9.0.0","ci:project-deploy-observability","Team:obs-ux-infra_services"],"title":"[Profiling] Add colors for new frame types (process name, thread name, root)","number":204977,"url":"https://github.com/elastic/kibana/pull/204977","mergeCommit":{"message":"[Profiling] Add colors for new frame types (process name, thread name, root) (#204977)\n\n## Summary\r\nThis PR is a pre-requisite for adding aggregation by process name and by\r\nthread name to the Universal Profiling flamegraph view.\r\n\r\nIt adds three artificial node types to the flamegraph including color\r\ncodes.\r\n\r\nAs a side-effect, the root node now has its own color code. Previously,\r\nit (accidentally) used the color code of \"unknown\" type frames.\r\n\r\nThe PR is backwards compatible, so it doesn't change anything in the UI\r\nwhen connecting with current Elasticsearch.\r\nAs soon as [the PR for\r\nES](elastic/elasticsearch#119115) is merged, the\r\nnew aggregations show up.","sha":"bc5d8db237bdef481de9e4ce37d9e460755ae418"}},"sourceBranch":"main","suggestedTargetBranches":[],"targetPullRequestStates":[{"branch":"main","label":"v9.0.0","branchLabelMappingKey":"^v9.0.0$","isSourceBranch":true,"state":"MERGED","url":"https://github.com/elastic/kibana/pull/204977","number":204977,"mergeCommit":{"message":"[Profiling] Add colors for new frame types (process name, thread name, root) (#204977)\n\n## Summary\r\nThis PR is a pre-requisite for adding aggregation by process name and by\r\nthread name to the Universal Profiling flamegraph view.\r\n\r\nIt adds three artificial node types to the flamegraph including color\r\ncodes.\r\n\r\nAs a side-effect, the root node now has its own color code. Previously,\r\nit (accidentally) used the color code of \"unknown\" type frames.\r\n\r\nThe PR is backwards compatible, so it doesn't change anything in the UI\r\nwhen connecting with current Elasticsearch.\r\nAs soon as [the PR for\r\nES](elastic/elasticsearch#119115) is merged, the\r\nnew aggregations show up.","sha":"bc5d8db237bdef481de9e4ce37d9e460755ae418"}}]}] BACKPORT--> Co-authored-by: Tim Rühsen <[email protected]>
Summary
This PR is a pre-requisite for adding aggregation by process name and by thread name to the Universal Profiling flamegraph view.
It adds three artificial node types to the flamegraph including color codes.
As a side-effect, the root node now has its own color code. Previously, it (accidentally) used the color code of "unknown" type frames.
The PR is backwards compatible, so it doesn't change anything in the UI when connecting with current Elasticsearch.
As soon as the PR for ES is merged, the new aggregations show up.